import Vue from 'vue'
import Router from 'vue-router'
import Main from '@/components/Main'
import UserList from '@/components/user/List'
import UserTest from '@/components/user/Test'
import UserTest2 from '@/components/user/Test2'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Main',
      component: Main
    },
    {
      path: '/user/list',
      name: 'UserList',
      component: UserList
    },
    {
      path: '/user/test',
      name: 'UserTest',
      component: UserTest
    },
    {
      path: '/user/test2',
      name: 'UserTest2',
      component: UserTest2
    }
  ]
})
